﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>"  ValidateRequest="false"%>

<asp:Content ID="Content3" ContentPlaceHolderID="loginHolder" runat="server">
<%if (HttpContext.Current.Application["current_user"] != null)
  { %>
  <%Html.RenderPartial("UserStateControl", HttpContext.Current.Application["current_user"]); %>
<%}
  else
  { %>
  <%=Html.ActionLink("注册", "Index", "User")%>
  <%=Html.ActionLink("登录", "Login", "User") %>
<%} %>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    鲜啵网
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <strong>我的鲜啵列表</strong>
    <div style="border-style:solid;width:99%;height:90%;border-width:1px;border-color:Gray;">
        <%Html.RenderPartial("LiveControl", ViewData["live"]); %>
        <div><%Html.RenderPartial("CreateLiveControl"); %></div>
    </div>
    
</asp:Content>
